Test Series - computer fundamental

Test Number 9/95

Q: What could be the maximum value of a single digit in an octal number system?
A. 8
B. 7
C. 6
D. 5
Solution: The maximum value in any number system is one less than the value of the base. The base in an octal number system is 8, therefore, the maximum value of the single digit is 7. It takes digits from 0 to 7.
Q: In a number system, each position of a digit represents a specific power of the base.
A. True
B. False
C. none
D. 0
Solution: In a number system, every digit is denoted by a specific power of base. Like in an octal system, consider the number 113, it will be represented as :
82 * 1 + 81 * 1 + 80 *3.
Q: The maximum number of bits sufficient to represent an octal number in binary is _______
A. 4
B. 3
C. 7
D. 8
Solution: The octal number system comprises of only 8 digits. Hence, three bits (23 = 8) are sufficient to represent any octal number in the binary format.
Q: The binary number 111 in octal format is _______________
A. 6
B. 7
C. 8
D. 5
Solution: Certain binary to octal representations are :
000=0
001=1
010=2
011=3
100=4
101=5
110=6
111=7.
Q: Convert (22)8 into its corresponding decimal number.
A. 28
B. 18
C. 81
D. 82
Solution: To convert an octal number to decimal number:
81 * 2 + 80 * 2 = 16 + 2 = 18.
Hence, the decimal equivalent is 18.
Q: The octal equivalent of the binary number (0010010100)2 is ______________
A. 422
B. 242
C. 224
D. 226
Solution: To obtain the octal equivalent, we take numbers in groups of 3, from right to left as :
 000  010  010   100
 
  0    2    2      4     =  (224)8.
Q: Octal subtraction of (232)8 from (417)8 will give ______________
A. 165
B. 185
C. 815
D. 516
Solution: Octal subtraction is done as follows:
417
– 232
________
165
The octal subtraction is the same as that of any other number system. The only difference is, like in a decimal number system, we borrow a group of 10, in a binary system we borrow a group of 2, in an octal number system, we borrow in groups of 8.
Q: The 1’s complement of 0.101 is _________________
A. 1.010
B. 0.010
C. 0.101
D. 1.101
Solution: The 1’s complement of a number is obtained by reversing the bits with value 1 to 0 and the bits with value 0 to 1.
Here, 0.101 gets converted to 1.010 in its 1’s complement format.
Q: Convert (5401)8 to hexadecimal.
A. A01
B. A02
C. B01
D. C01
Solution: To convert octal to hexadecimal, we first write binary format of the number and then make groups of 4 bits from right to left, as follows:
 5     4      0     1
101   100    000    001   (octal -> binary)
1011     0000    0001     ( groups of 4)
B         0       1       ( hexadecimal equivalent)
Therefore, the hexadecimal equivalent is (B01)16.
Q: Express the decimal format of the signed binary number (10010)2 .
A. 2
B. 12
C. -12
D. -2
Solution: The first bit is the sign bit whereas the rest of the bits are magnitude bits. So the number is: 0010 = 21 * 1 =2
But, the sign bit is 1, Therefore the answer is : (-2)10.

You Have Score    /10